|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /usr/local/CyberCP/backup/ |
Upload File : |
import requests
url = "https://api.github.com/repos/rustic-rs/rustic/releases/latest" # Replace with your API endpoint URL
response = requests.get(url)
if response.status_code == 200:
data = response.json()
print(data['tag_name'])
# Do something with the data
else:
print("Request failed with status code:", response.status_code)